<?php echo $this->Session->flash('flash', array('element' => 'messageInfo')); ?>

<script>
$(function() {
	setTimeout(function(){$("#window-modal").modal('hide');}, 800);
});
</script>